Replies: 1 comment 2 replies
-
If optimization_time_step is 30, then you need 48 values for 24 hours. I counted 47. Otherwise, I use HASSIO OS and EMHASS as an add-on and I generate the electricity price files for the /share folder normally. If you want to know how, write. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to push hourly energy prices via the API with:
curl -i -H "Content-Type: application/json" -X POST
-d '{"load_cost_forcast":[0,0, 0, 0, 1, 1, 1, 0.5, 0.5, 0.5, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0.5, 0.5, 0.5, 0, 0, 0,0, 0, 0, 1, 1, 1, 0.5, 0.5, 0.5, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0.5, 0.5, 0.5, 0, 0, 0]}'
http://homeassistant.local:5000/action/dayahead-optim
(please ignore the values, they are only for testing)
The call goes trough, but the values are ignored. Setting in "tariffs" is hp_hc_periods, tried csv, but it fails, since the file is not there.
I use hassio os, so I can not write csv file directly.
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions